<template>
   <view class="components-container">
       <h-card title="dayJs" margin="0 0 30rpx 0">
            {{now().format('YYYY-MM-DD HH:mm:ss dddd')}}
       </h-card>
   </view>
</template>

<script>
let dayjs = require('dayjs')
    export default {
        name: "index",
		data: () => {
			return {
			    now: dayjs
			}
		},
        onLoad(){
            this.show()
        },
        methods: {
        }

    }
</script>

<style lang="scss" scope>
@import 'index.scss';
</style>
